package com.qiudaozhang.jblog.article.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 邱道长
 * 时间： 2018/12/22 11:43
 */
public interface ArticleTagMapper {
    void deleteByTagId(@Param("tagId") Integer tagId);

    void saveArticleIdAndTagIds(@Param("articleId") int articleId, @Param("tagIds") List<Integer> tagIds);

    void deleteByArticleId(@Param("articleId") Integer articleId);
}
